HasMovieChanged
TheHasMovieChanged
function allows your application to determine whether a movie has changed and needs to be saved.
pascal Boolean HasMovieChanged (Movie theMovie);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).DESCRIPTION
TheHasMovieChanged
function returns a Boolean value that reflects the contents of the movie changed flag. The function sets the returned value totrue
if the movie has been changed in such a way that it should be saved. Otherwise, the returned value is set tofalse
.Your application can clear the movie changed flag, indicating that the movie has not changed, by calling the
ClearMovieChanged
function, which is described in the next section.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid SEE ALSO
Both theAddMovieResource
function (described on page 2-90) and theUpdateMovieResource
function (described on page 2-91) update the movie file and clear the movie changed flag, indicating that the movie has not been changed.